package cc.greencat.gcmall.promotion.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

/**
 * 商品满减信息
 * 
 * @author greencat.cc
 * @email greencatcc@163.com
 * @date 2021-01-11 21:49:35
 */
@TableName("sku_full_reduction")
public class SkuFullReductionEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * spu_id
	 */
	private Long skuId;
	/**
	 * 满多少
	 */
	private BigDecimal fullPrice;
	/**
	 * 减多少
	 */
	private BigDecimal reducePrice;
	/**
	 * 是否参与其他优惠
	 */
	private Integer addOther;

	/**
	 * set id
	 */
    public void setId(Long id){
        this.id = id;
    }
    /**
	 * get id
	 */
    public Long getId(){
        return this.id;
    }
	/**
	 * set spu_id
	 */
    public void setSkuId(Long skuId){
        this.skuId = skuId;
    }
    /**
	 * get spu_id
	 */
    public Long getSkuId(){
        return this.skuId;
    }
	/**
	 * set 满多少
	 */
    public void setFullPrice(BigDecimal fullPrice){
        this.fullPrice = fullPrice;
    }
    /**
	 * get 满多少
	 */
    public BigDecimal getFullPrice(){
        return this.fullPrice;
    }
	/**
	 * set 减多少
	 */
    public void setReducePrice(BigDecimal reducePrice){
        this.reducePrice = reducePrice;
    }
    /**
	 * get 减多少
	 */
    public BigDecimal getReducePrice(){
        return this.reducePrice;
    }
	/**
	 * set 是否参与其他优惠
	 */
    public void setAddOther(Integer addOther){
        this.addOther = addOther;
    }
    /**
	 * get 是否参与其他优惠
	 */
    public Integer getAddOther(){
        return this.addOther;
    }

}
